﻿<%@ Page Language="C#" MasterPageFile="~/InventoryTracker/MasterPage.master" AutoEventWireup="true" CodeFile="LocationMaster.aspx.cs" Inherits="InventoryTracker_LocationMaster1" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="maincontent" Runat="Server">


<div id="projectreport">
        <a name="content_start0" id="content_start0"></a>
        <fieldset>
            <h2 class="none">
                Location Master</h2>
            <legend>Location Information</legend>
            <div class="formsection">
                Location</div>
            
            <table style="height: 185px; width: 329px">
            <tr>
                <td>
                     <p style="height: 44px">
                       <asp:Label ID="lblLocName" runat="server" Text="Location Name"></asp:Label>
        
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtLocName"
                        ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
        <asp:TextBox ID="txtLocName" runat="server" ></asp:TextBox><br />
        
                    </p>
                    <p style="height: 44px">
                        <asp:Label ID="lblLocAddressLine1" runat="server" Text="Address Line1"></asp:Label>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtLocAddressLine1" ErrorMessage="*" 
        ToolTip="Address is required."></asp:RequiredFieldValidator>
        <asp:TextBox ID="txtLocAddressLine1" runat="server"  TextMode="MultiLine" Height="22px" 
                            Width="128px" ></asp:TextBox><br />
                    </p>
                    <p style="height: 44px">
                        <asp:Label ID="lblLocAddressLine2" runat="server" Text="Address Line2"></asp:Label>
        <asp:TextBox ID="txtLocAddressLine2" runat="server" TextMode="MultiLine" Height="22px" 
                            Width="128px" ></asp:TextBox>
                    </p>
                    <p style="width: 170px; height: 44px;">
                        <asp:Label ID="lblLocCity" runat="server" Text="Location City"></asp:Label>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtLocCity" ErrorMessage="*" 
        ToolTip="City is required."></asp:RequiredFieldValidator>
        <asp:TextBox ID="txtLocCity" runat="server" ></asp:TextBox><br />
                    </p>
                    
            
                    <p style="height: 44px">
                        <asp:Label ID="lblLocState" runat="server" Text="State"></asp:Label>
        <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txtLocState" ErrorMessage="*" 
        ToolTip="State is required."></asp:RequiredFieldValidator>
                        <br />
        <asp:TextBox ID="txtLocState" runat="server" ></asp:TextBox><br />
                    </p>
               </td>

            <td>     
                                    
                    <p>
                        <asp:Label ID="lblLocCountry" runat="server" Text="Country"></asp:Label>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtLocCountry" ErrorMessage="*" 
        ToolTip="Country is required."></asp:RequiredFieldValidator>
       
        
                        <br />
        <asp:TextBox ID="txtLocCountry" runat="server" ></asp:TextBox>
        <br />
       
        
                    </p>
                    <p>
                        <asp:Label ID="lblLocPhone" runat="server" Text="Phone No" Font-Bold="False"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtLocPhone" ErrorMessage="*" 
        ToolTip="Phone No is required."></asp:RequiredFieldValidator>
                <asp:TextBox ID="txtLocPhone" runat="server"  ></asp:TextBox><br />
                    </p>
                    <p>
                        <asp:Label ID="lblLocFax" runat="server" Text="Fax"></asp:Label>
                        <br />
        <asp:TextBox ID="txtLocFax" runat="server"  ></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label ID="lblLocRemarks" runat="server" Text="Remarks"></asp:Label>
                        <br />
        <asp:TextBox ID="txtLocRemarks" runat="server" Height="22px" TextMode="MultiLine" 
                            Width="128px"  ></asp:TextBox>
                    </p>
                    
            </td>
            </tr>
            </table>
            
            <asp:Label ID="lblWarn" runat="server" Text="* Required Fields" 
                ForeColor="Red"></asp:Label>
            <div class="formsection">
            
                <asp:Button ID="btnLocSubmit" runat="server" Text="Submit" 
                    onclick="btnLocSubmit_Click"/>
                        <asp:Label ID="lblResult" runat="server"></asp:Label>
               
            </div>
        </fieldset>
    </div>

</asp:Content>

